From: Rosen Penev Date: Wed, 5 Aug 2020 21:24:33 +0000 (-0700) Subject: baresip: fix compilation without deprecated OpenSSL APIs X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=6f252c0ba2630bd8ca8c1eceddf516145d83b78a;p=feed%2Ftelephony.git baresip: fix compilation without deprecated OpenSSL APIs Signed-off-by: Rosen Penev --- diff --git a/net/baresip/Makefile b/net/baresip/Makefile index 468d0ac..453423c 100644 --- a/net/baresip/Makefile +++ b/net/baresip/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=baresip PKG_VERSION:=0.6.4 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.creytiv.com/pub diff --git a/net/baresip/patches/010-openssl-deprecated.patch b/net/baresip/patches/010-openssl-deprecated.patch new file mode 100644 index 0000000..4e691bc --- /dev/null +++ b/net/baresip/patches/010-openssl-deprecated.patch @@ -0,0 +1,11 @@ +--- a/modules/debug_cmd/debug_cmd.c ++++ b/modules/debug_cmd/debug_cmd.c +@@ -56,7 +56,7 @@ static int print_system_info(struct re_printf *pf, void *arg) + + #ifdef USE_OPENSSL + err |= re_hprintf(pf, " OpenSSL: %s\n", +- SSLeay_version(SSLEAY_VERSION)); ++ OpenSSL_version(OPENSSL_VERSION)); + #endif + + return err;